<?php

class HomeController extends Controller {
	public function index($path) {
		if($path) {
			throw new NotFoundException();
		}
		View::load("home/index");
	}
	
	public function logout() {
		Model::load('LoginModel');
		LoginModel::logout();
		G('');
	}
}